Define General Import or Export Settings

This screen is displayed when importing a text file from an external file, and is used to declare the general file structure of the file. It is part of the Text Wizard.

Activity steps

  1. Using the Import Data screen, select the TextDriver Category and an appropriate Data Type.

  2. Click OK.

  3. Select the text file to import. If importing any Data Type other than Block Model or Block Model for Minesight, skip to step 5.
  4. The Specify Model Parameters screen displays. Define the prototype for the model object that will be created.
    1. To specify block model parameters manually:

      1. Enter the world coordinates of the Model Origin.

      2. Enter the Block Size of the model (all major axes).

      3. Enter the Number of Blocks expected in the model in each direction.

    2. To calculate block model parameters using the file to be imported:

      1. Select Read From File...

      2. Locate the text model file to be imported.

        The Specify Model Parameters screen redisplays with automatically calculated values.

  5. Choose a Data Type.

    1. If your incoming text file has values separated by a fixed character, select Delimited.

      If the Delimited option is selected, the next screen shown in this wizard is the Delimiter Details screen, used to define the character used to separate data items in the external text file.

    2. If your incoming text file is in a tabular arrangement with data columns of the same size, select Fixed Width.

      If the Fixed Width option is selected, the following screen in this wizard is the Column Widths screen, used to define how data is separated into columns in the external file.

  6. Choose how to manage Comment string data. Comments are ignored during data import.

    • If checked, specify the leading character of comment strings in the external file.
    • If unchecked, all data records are interpreted during data import.
  7. Define the general structure of your imported file:
    1. Data Rows - Determine the scope of the data import with the following options:
    2. Start at Line - This mandatory property determines at which point in the external file data is imported from. Use the spin buttons to increment/decrement the value, or enter a value directly into the field.

    3. Stop at Line - Specify a maximum line (in the external) file to limit the data import. All data after the specified line is ignored.

    4. Header Row - If your external text file contains header descriptions at a specific point, you can select this option and enter a line number into the corresponding field (or use the default, which reads header information from line 1).

    5. Quotes for Strings - If alphanumeric information in your external file is contained within standard characters (e.g. single or double quotes), you can select this option and declare the character used to signify string content.

  8. Choose the encoding of the Text region and Number region of your file. By default, this is set to English (United States) for both, but you should alter this if the incoming file is known to use a different character set.
  9. Review the read-only Preview of file to be loaded.
  10. Click Next.

    Depending on your Data Type, either the Delimiter Details or Column Widths screen displays.